package com.hermit.system.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.hermit.system.entity.UserInfoEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LoginDao extends BaseMapper<UserInfoEntity> {

    /**
     * 根据查询条件查询
     */
    List<UserInfoEntity> query(@Param(Constants.WRAPPER) QueryWrapper<UserInfoEntity> queryWrapper);
}
